package com.zhanggm.s3.house.service;

import com.github.pagehelper.Page;
import com.github.pagehelper.PageInfo;
import com.zhanggm.s3.house.bo.EstateInfoBo;
import com.zhanggm.s3.house.entity.Estate;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zhanggm
 * @since 2023-07-21
 */
public interface IEstateService extends IService<Estate> {


    /**
     * 查询管理的地铁线路和商圈
     *
     * @param estateId
     * @return
     */
    public EstateInfoBo getEstateInfo(Integer estateId);

    /**
     * 房源排名
     * @param pageNum
     * @param pageSize
     * @return
     */
    PageInfo<Estate> rankList(Integer pageNum, Integer pageSize);
}
